﻿<%@ page contentType="text/html;charset=UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
<%@ include file="/common/meta.jsp"%>
<%@ include file="/common/content.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>权限信息管理</title>
<script>
$(document).ready(function(){

		$("#name").focus();
		$("#linksForm").validate({
			 rules: { 
				name: { 
        			required: true, 
        			maxlength:50,
        			remote: "orderlistAction!checkName.action?orgName=''&math="+Math.random()
    			},
    			displayName:
    			{
    				required: true, 
        			maxlength:50,
        			remote: "orderlistAction!checkDisplayName.action?orgName=''&math="+Math.random()
    			}
			},
			messages: {
				name: {
					remote: "该权限名称已存在"
				},
				displayName:
				{
					remote: "该显示名称已存在"
				}
			},
			success: function(label) {
				label.html("&nbsp;").addClass("checked");
	        }	
		});
	});	
</script>
 	</head>
	<body>
 	 
 	 <div class="rhead">
			<div class="rpos">
				当前位置: 业务管理 - 套餐信息管理  - 添加套餐信息管理
			</div>
			<div class="ropt"><input type="button" value="返回" onclick="history.back()"/></div>		
			<div class="clear"></div>
		</div>
	<form action="orderlistAction!add.action" method="post" id="linksForm" method="post">
		<table  align="center" class="listTable3" width="90%">
			<tr>
				<td  class="pn-flabel">套餐名称</td><td><input type="text" name="name" size="50"/></td>
			</tr>
			<tr>
				<td  class="pn-flabel">套餐编号</td><td><input type="text" name="displayName" size="50"/></td>
			</tr>
			<tr>
				<td  class="pn-flabel">套餐类型</td>
				<td>
				<select name="authorities.salesDirect">
							<option value="1">
								优惠充值
							</option>
							<option value="2">
								直接充值
							</option>
						</select>
				</td>
			</tr>
			<tr>
				<td  class="pn-flabel">排序</td><td><input type="text" name="authorities.orderAuth" size="50"/></td>
			</tr>
			<tr>
				<td  class="pn-flabel"></td>
				<td align="left">
				<input type="submit" value=" 提 交 "/>
				</td>
			</tr>
	 	</table>
	</form>
	</body>
</html>

